package com.wu.service.weixin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wu.common.service.impl.BaseServiceImpl;
import com.wu.dao.weixin.dao.WeixinSignMapper;
import com.wu.entity.weixin.po.WeixinGzuser;
import com.wu.entity.weixin.po.WeixinSign;
import com.wu.service.weixin.service.WeixinSignService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * 用户管理
 *
 * @author wzd
 */
@Service
@AllArgsConstructor
public class WeixinSignServiceImpl extends BaseServiceImpl<WeixinSignMapper, WeixinSign> implements WeixinSignService {

    @Override
    public List<WeixinSign> queryAll(LocalDate date) {

        return this.list(new QueryWrapper<WeixinSign>().ge("create_time", date));
    }
}
